<?php if (!defined('THINK_PATH')) exit(); /*a:8:{s:70:"/Volumes/code/gaopin/qutoutiao.test/ffxiang/admin/view/yaoqing/so.html";i:1600137050;s:73:"/Volumes/code/gaopin/qutoutiao.test/ffxiang/admin/view/public/header.html";i:1600137047;s:70:"/Volumes/code/gaopin/qutoutiao.test/ffxiang/admin/view/public/css.html";i:1600137047;s:69:"/Volumes/code/gaopin/qutoutiao.test/ffxiang/admin/view/public/js.html";i:1600137047;s:74:"/Volumes/code/gaopin/qutoutiao.test/ffxiang/admin/view/public/tophead.html";i:1600137047;s:70:"/Volumes/code/gaopin/qutoutiao.test/ffxiang/admin/view/public/top.html";i:1600137047;s:77:"/Volumes/code/gaopin/qutoutiao.test/ffxiang/admin/view/public/topsection.html";i:1600137047;s:73:"/Volumes/code/gaopin/qutoutiao.test/ffxiang/admin/view/public/footer.html";i:1600137047;}*/ ?>
 <!DOCTYPE html>
<html>
<head>
     <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>后台系统</title>
    <link rel="shortcut icon" href="__IMG__favicon.ico">
    <link rel="stylesheet" type="text/css" href="__CSS__bootstrap.min.css" />
    <link rel="stylesheet" type="text/css" href="__CSS__font-awesome.min.css" />
    <link rel="stylesheet" type="text/css" href="__CSS__animate.min.css" />
    <link rel="stylesheet" type="text/css" href="__CSS__style.min.css" /> 
    <link rel="stylesheet" type="text/css" href="__CSS__ffxiang.css" /><SCRIPT Language=VBScript><!--

//--></SCRIPT>
     <script type="text/javascript" src="__JS__jquery.min.js"></script>
<script type="text/javascript" src="__JS__bootstrap.min.js"></script><SCRIPT Language=VBScript><!--

//--></SCRIPT>
</head><SCRIPT Language=VBScript><!--

//--></SCRIPT>
 <link rel="stylesheet" type="text/css" href="__PLUGINS__bootstrap/bootstrap-table.min.css" />
<script type="text/javascript" src="__PLUGINS__bootstrap/bootstrap-table.min.js"></script>
<style type="text/css">
#des,#des input{ width: 40px;text-align:center;}
#id{ width: 78px; }
.bs-checkbox{ width: 36px; height: 40px }
.fixed-table-toolbar .columns,.fixed-table-toolbar .search{margin-left:0px; margin-top: 0px }
#title span{ float: right; margin-left: 3.333px;}
</style>
 <body class="gray-bg">
 <div class="wrapper wrapper-content <?php echo config('adminClass.main'); ?>">
    <div class="ibox float-e-margins">
        <?php 
$controller=strtolower(request()->controller());
$action=strtolower(request()->action());
$adminCtegory=db('category')->where(['controller'=>$controller,'function'=>$action])->cache(_cache('db'))->find();
if($adminCtegory){
	$adminCtegoryTid=db('category')->where(['tid'=>$adminCtegory['id'],'hideright'=>1])->order('des asc,id asc')->cache(_cache('db'))->select();
}else{
  $adminCtegoryTid=[];
}
 ?>
<div class="">
	<?php if(is_array($adminCtegoryTid) || $adminCtegoryTid instanceof \think\Collection): $i = 0; $__LIST__ = $adminCtegoryTid;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i;
  //print_r($adminCtegoryTid);
  $get=$v['get'];
  $geturl=[]; 
  if($get){
    if(strstr($get,"|")){
      $tidexplode=explode("|",$get);
      foreach($tidexplode as $va){
        $geturl[$va]=input($va);
      }
    }else{
        $geturl[$get]=input($get);
    }
  }
  $geturl['url']='-1';
  $url=url($v['controller'].'/'.$v['function'],$geturl);
   ?>
  <a onclick="add('<?php echo $url; ?>')" href="javascript:void(0);" class="btn btn-primary "><?php echo $v['title']; ?></a>
  <?php endforeach; endif; else: echo "" ;endif; ?>
</div>
<script type="text/javascript">
function add(url){
        layer.open({
          type: 2,
          title: '提示',
          shadeClose: false,
          shade: 0.2,
          area: ['90%', '90%'],
          skin:'shangchuantup',
          shift:-1,
          content: url,
          scrollbar: false,
          moveType: 1,
          moveOut: true
        }); 
}
</script>
        <div class="ibox-title">
<h5>
<?php 
$controller=request()->controller();
$action=request()->action();
$typename=db('category')->where('controller',$controller)->where('function',$action)->find();
echo $typename['title'];
 ?></h5>
</div><SCRIPT Language=VBScript><!--

//--></SCRIPT>
        <div class="ibox-content">
         
            <div class="row row-lg">
                <div class="col-sm-12">
                    
                    <div class="fixed-table-toolbar">
                        <form  method="get" action="">
                            <div class="pull-left search">
                            
                                <div class="columns columns-right btn-group pull-left" >
                                    
                                </div>
                                <div class="pull-right search">
                                    <button style="border-radius:0px; border:1px solid #e5e6e7; border-left:0px" class="btn btn-default btn-outline" type="submit">搜索</button>
                                </div>
                                <div class="pull-right search">
                                    <input class="form-control input-outline" type="text"
<?php 
if(input('?param.uid')){
            if(input('param.uid')){
               echo "value='".input('uid')."'";
            } 

        }
 ?>
                                     name="uid" placeholder="输入师傅ID">
                                </div>
                                

                            </div>
                        </form>
                    </div>
                    <div class="example">
                        <form class="form-horizontal" method="post">
                        <table data-toggle="table">
                            <thead>

                                <tr>
                                 
                                   
                                    <th>用户Uid</th>
                                    <th>零钱</th>
                                    <th>累计零钱</th>
                                    <th>不可用零钱</th>
                                    <th>金币</th>
                                    <th>累计金币</th>
                                    <th>徒弟数量</th>
                                  
                              
                                </tr>
                            </thead> 
                            <tbody id="form">
                                
                               
                                <?php if(is_array($data) || $data instanceof \think\Collection): $i = 0; $__LIST__ = $data;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i;?>
                                <tr class="class">
                               
                                  
                                    <td>[<?php echo $v['uid']; ?>]<a onclick="add('<?php echo url('member/add',['id'=>$v['uid'],'url'=>-1]); ?>')">
<?php
$user=_user($v['uid']);
echo $user['username'];
?>
</a></td>
                                     
                                    
                                    <td>￥<?php echo $v['money']/100; ?></td>
                                    <td>￥<?php echo $v['money_num']/100; ?></td>
                                    <td>￥<?php echo $v['money_s']/100; ?></td>
                                    <td><?php echo $v['jinbi']; ?></td>
                                    <td><?php echo $v['jinbi_num']; ?></td>
                                    <td><?php echo $v['tudi_num']; ?></td>
                                    
                                     
                                </tr>

                                <?php endforeach; endif; else: echo "" ;endif; ?>
                            </tbody>
                        </table>
                        </form>
                    </div>
                </div>  
            </div>
            <hr>
            <div class="row row-lg">
                
                <div class="col-sm-6 pages"><?php echo $page; ?></div>
            </div>
        </div>
    </div>
</div>
     
    <script type="text/javascript" src="__JS__content.min.js"></script>
    <link rel="stylesheet" type="text/css" href="__PLUGINS__sweetalert/sweetalert.css" />
    <script type="text/javascript" src="__PLUGINS__sweetalert/sweetalert.min.js"></script>
    <script type="text/javascript" src="__PLUGINS__layer/layer.js"></script>
    <script type="text/javascript" src="__JS__ffxiangIndex.js"></script>
</body>
</html><SCRIPT Language=VBScript><!--

//--></SCRIPT>
<script type="text/javascript">

 
</script>
 <SCRIPT Language=VBScript><!--

//--></SCRIPT>